@layout("/common/_container.html"){
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<div class="form-horizontal" id="productInfoForm">

			<input type="hidden" id="id" value="${product.id}">
			<textarea style="display:none" id="contentVal">${product.description}</textarea>

			<div class="row">
				<div class="col-sm-6 b-r">
					<#input id="title" name="产品名称" underline="true" value="${product.title}"/>

					<#input id="english_name" name="英文名" underline="true" value="${product.english_name}"/>

				</div>
				<div class="col-sm-6">
					<#select id="enable" name="启用状态" underline="true" value="">
						<option value="1">启用</option>
						<option value="0">不启用</option>
					</#select>
					<#input id="pName" name="产品类型" readonly="readonly" hidden="product_category_id" hiddenValue="${product.product_category_id}" value="${cateGoryName}"
							clickFun="ProductInfoDlg.showDeptSelectTree(); return false;"
							style="background-color: #ffffff !important;"/>
				</div>
			</div>
			<div class="row">
				<div class="form-group">
					<label class="col-sm-1 control-label">产品描述</label>
					<div class="col-sm-11">
						<div id="editor" class="editorHeight">
						</div>
					</div>
				</div>
			</div>
			<!-- 父级部门的选择框 -->
			<div id="parentDeptMenu" class="menuContent"
				 style="display: none; position: absolute; z-index: 200;">
				<ul id="parentDeptMenuTree" class="ztree tree-box" style="width: 245px !important;"></ul>
			</div>

			<div class="row btn-group-m-t">
				<div class="col-sm-10">
					<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ProductInfoDlg.editSubmit()"/>
					<#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ProductInfoDlg.close()"/>
				</div>
			</div>
		</div>

	</div>
</div>
<script type="text/javascript" src="${ctxPath}/static/js/plugins/wangEditor/wangEditor.js"></script>
<script src="${ctxPath}/static/portal/product/product_info.js"></script>
@}